//
//  NoteMinTopCell.m
//  Travel assistant
//
//  Created by lanou3g on 16/2/27.
//  Copyright © 2016年 旅游助手. All rights reserved.
//

#import "NoteMinTopCell.h"

@implementation NoteMinTopCell

- (void)awakeFromNib {
    // Initialization code
    [self.weatherButton addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(WeatherButtonAction:)]];
    
    
    

    
    

}

- (void)WeatherButtonAction:(UIView *)sender{
    NSLog(@"创建抛出消息......");
    /**创建一个消息对象*/
    NSNotification *notice = [NSNotification notificationWithName:@"changeWeatherButton" object:nil];
    /**抛出消息*/
    [[NSNotificationCenter defaultCenter] postNotification:notice];
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
